package com.wzy.base.exception;

import java.io.Serializable;

/**
 * @Author wzy
 * @Date 2023/12/27 14:46
 * @description: 返回给前端的异常信息
 */
public class RestErrorResponse implements Serializable {
    private String errMessage;

    public void setErrMessage(String errMessage) {
        this.errMessage = errMessage;
    }

    public String getErrMessage() {
        return errMessage;
    }

    public RestErrorResponse(String errMessage) {
        this.errMessage = errMessage;
    }
}
